package bpm.graphic
{
	import mx.controls.Alert;
	import mx.core.IVisualElement;
	import mx.events.FlexEvent;
	
	import spark.layouts.VerticalLayout;

	/**
	 * @author 黄记新, 下午10:45:02
	 */
	public class HPool extends Render
	{
		[SkinPart]
		public var graph:Graph;
		
		public function HPool()
		{
			super();
			addEventListener(FlexEvent.CREATION_COMPLETE,onCreateComplete);
		}
		
		protected function onCreateComplete(event:FlexEvent):void
		{
			/*Alert.show(this.numElements+"");
			for (var i:int = 0; i < this.numElements; i++) 
			{
				var ele:IVisualElement = this.getElementAt(i);
				graph.addElement(ele);
			}*/
		}
		
		override protected function partAdded(partName:String, instance:Object):void{
			if(instance == graph){
			}
		}
	}
}